package cn.kgc.web.service;

import cn.kgc.common.entity.Comment;
import cn.kgc.common.entity.DataPage;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by teacher ZHANG on 2023/2/2
 */
public interface CommentService {
    public DataPage<HashMap<String, Object>> listComments(Integer articleId, Integer pageNum, Integer pageSize);
    public List<Map<String, Object>> listTopComments(Integer number);
    public List<Map<String, Object>> listByArticleIds(List<Integer> idList);
}
